// app/signin/layout.tsx - 登录页面布局
'use client'

import AuthLayout from '../(commonLayout)/auth/layout'
import { ReactNode } from 'react'

interface LayoutProps {
  children: ReactNode
}

export default function SignInLayout({ children }: LayoutProps) {
  return (
    <AuthLayout>
      <div className="w-full max-w-[420px]">
        <div className="bg-white rounded-2xl p-8 shadow-lg">
          <h1 className="text-2xl font-semibold text-gray-900 text-center">
            登录
          </h1>
          <p className="mt-2 text-sm text-gray-600 text-center">
            欢迎回来
          </p>
          <div className="mt-8">
            {children}
          </div>
        </div>
      </div>
    </AuthLayout>
  )
} 